<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>九九乘法表</title>
    <style>
        .jishu{
            background-color: #DDDDDD;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <strong>九九乘法表</strong>
    <script type="text/javascript">
        document.write("<br/>")
        for(var i=1;i<=9;i++){
            for(var j=1;j<=i;j++){
                if(i%2!=0){
                    document.write('<b><span style="background-color: #DDDDDD;">'+
                        j+'×'+i+'='+ i*j+'\t'+'</span></b>\t');
                }
                else{
                    document.write(j+'×'+i+'='+ i*j+'\t');
                }
            }
            document.write("<br/>");
        }
    </script>
</body>
</html>